﻿using System;
using System.Linq;
using System.Text;
using SqlSugar;

namespace DongFangGuoKai.WMSPlatform.Domain.Model
{
    ///<summary>
    ///缓存口
    ///</summary>
    [SugarTable("t_CachePort")]
    public partial class t_CachePort
    {
        public t_CachePort()
        {


        }
        /// <summary>
        /// Desc:主键
        /// Default:
        /// Nullable:False
        /// </summary>           
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int Id { get; set; }

        /// <summary>
        /// Desc:编码
        /// Default:
        /// Nullable:False
        /// </summary>           
        public string Code { get; set; }

        /// <summary>
        /// Desc:名称
        /// Default:
        /// Nullable:False
        /// </summary>           
        public string Name { get; set; }

        /// <summary>
        /// Desc:区域类型：1-入库区;2-出库区;3-异常区
        /// Default:
        /// Nullable:False
        /// </summary>           
        public int AreaType { get; set; }

        /// <summary>
        /// Desc:排序号
        /// Default:
        /// Nullable:False
        /// </summary>           
        public int DisplayOrder { get; set; }

        /// <summary>
        /// Desc:作业模式：1-全入；2-全出模式；3-左出右入；4-左入右出。
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? WorkMode { get; set; }

        /// <summary>
        /// Desc:是否有货
        /// Default:
        /// Nullable:False
        /// </summary>           
        public bool IsUsed { get; set; }

        /// <summary>
        /// Desc:状态：0-禁用；1-启用；
        /// Default:
        /// Nullable:False
        /// </summary>           
        public int Status { get; set; }

        /// <summary>
        /// Desc:创建时间
        /// Default:
        /// Nullable:True
        /// </summary>           
        public DateTime? CreateDate { get; set; }

        /// <summary>
        /// Desc:创建人Id
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? CreateUserId { get; set; }

        /// <summary>
        /// Desc:创建人
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? CreateUserName { get; set; }

        /// <summary>
        /// Desc:修改时间
        /// Default:
        /// Nullable:True
        /// </summary>           
        public DateTime? ModifyDate { get; set; }

        /// <summary>
        /// Desc:修改人Id
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? ModifyUserId { get; set; }

        /// <summary>
        /// Desc:修改人
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? ModifyUserName { get; set; }

        /// <summary>
        /// Desc:当前缓存口占用垛信息
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? StackingStorageId { get; set; }

    }
}
